package com.xinsilu.hospital.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("bed-table")
@ApiModel(value="BedTable对象", description="")
public class BedTable implements Serializable {

    private static final long serialVersionUID = 1L;

    private Department department;

    private UserTable userTable;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;


    @ApiModelProperty(value = "费用")
    private String cost;

    @ApiModelProperty(value = "科室id")
    @TableField("Department_id")
    private Integer departmentid;

    @ApiModelProperty(value = "使用状态")
    private Integer state;

    @ApiModelProperty(value = "病人id")
    @TableField("patient_id")
    private Integer patientid;

    private String keshi;

    private String bingren;


}
